package com.yantong.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 余额记录
 * @author kanghaixin
 */
public class BalanceLog {
    /**
     * 主键
     */
    private Long id;
    /**
     *会员ID
     */
    private Long mid;
    /**
     *手机号码
     */
    private String mobile;
    /**
     *真实姓名
     */
    private String realname;
    /**
     *昵称
     */
    private String nickname;
    /**
     *备注
     */
    private String title;
    /**
     *状态 '0 加 1减',
     */
    private Integer status;
    /**
     *支付方式:0.余额1.微信2.支付宝3.银联4.现金',
     */
    private Integer type;
    /**
     *'类型:0.充值1.扣款2.提现，3下单抵扣，4订单退款，5消费佣金，6平推佣金，7提现退回',
     */
    private Integer style;
    /**
     * 记录来源：0会员用户1门店用户2供应商用户
     */
    private Integer source;
    /**
     * 类型名称
     */
    private String styleName;
    /**
     *credit1积分，credit2余额',
     */
    private String credittype;
    /**
     *更新前金额
     */
    private BigDecimal beforeamount;
    /**
     *发生额
     */
    private BigDecimal money;
    /**
     *更新后金额
     */
    private BigDecimal afteramount;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *是否已删除
     */
    private Integer isdelete;
    /**
     *关联ID
     */
    private Integer relatedid;
    /**
     *说明
     */
    private String remark;
    /**
     * 商户ID
     */
    private Long centreId;
    /**
     * 供应商类型
     */
    private String suppliertype;
    /**
     * 提现记录流水类型
     * 
     * 1、用户提现2、用户提现失败3、用户充值4、用户扣款5、门店发佣金6、门店提现7、门店提现失败8、门店充值9、门店扣款10、门店退款11、供应商货款结算12、供应商提现13、供应商提现失败14、供应商充值15、供应商扣款16、用户提现申请17、门店提现申请18、供应商提现申请
     */
    private String flowtype;
    
    //充值卡id
    private Long shipcardId;
    
    //充值卡名称
    private String shipcardName;
    private Long shipcardRecordId;
    private Long orderId;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getShipcardRecordId() {
		return shipcardRecordId;
	}

	public void setShipcardRecordId(Long shipcardRecordId) {
		this.shipcardRecordId = shipcardRecordId;
	}

	public Long getShipcardId() {
		return shipcardId;
	}

	public void setShipcardId(Long shipcardId) {
		this.shipcardId = shipcardId;
	}

	public String getShipcardName() {
		return shipcardName;
	}

	public void setShipcardName(String shipcardName) {
		this.shipcardName = shipcardName;
	}

	public String getFlowtype() {
		return flowtype;
	}

	public void setFlowtype(String flowtype) {
		this.flowtype = flowtype;
	}

	public String getSuppliertype() {
		return suppliertype;
	}

	public void setSuppliertype(String suppliertype) {
		this.suppliertype = suppliertype;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public String getStyleName() {
        return styleName;
    }

    public void setStyleName(String styleName) {
        this.styleName = styleName;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStyle() {
        return style;
    }

    public void setStyle(Integer style) {
        this.style = style;
    }

    public String getCredittype() {
        return credittype;
    }

    public void setCredittype(String credittype) {
        this.credittype = credittype == null ? null : credittype.trim();
    }

    public BigDecimal getBeforeamount() {
        return beforeamount;
    }

    public void setBeforeamount(BigDecimal beforeamount) {
        this.beforeamount = beforeamount;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getAfteramount() {
        return afteramount;
    }

    public void setAfteramount(BigDecimal afteramount) {
        this.afteramount = afteramount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getRelatedid() {
        return relatedid;
    }

    public void setRelatedid(Integer relatedid) {
        this.relatedid = relatedid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }

    private Date start;
    private Date end;

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }
}